package com.example.springboot_demo.pojo;

import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 产品对比项信息对象
 * @ClassName MarketContrastProductItem
 * @author xiaojy
 * @version V1.2.1
 * @since V1.2.1
 * @date 2018年10月22日 下午3:18:34
 */
@Document(collection = "MarketContrastProductItem")
public class MarketContrastProductItem {
	/**
	 * 主键,产品对比项ID
	 */
	@Id
	private String productItemId;
	/**
	 * 关联对比产品ID
	 */
	private String constrastProductId;
	/**
	 * 产品ID
	 */
	private String productId;
	/**
	 * 产品类型 M - 主险 R - 附加险
	 */
	private String productType;
	/**
	 * 对比项Id
	 */
	private String itemId;
	/**
	 * 对比项类型
	 * company-保险公司;product-产品架构;liability-产品责任;investmentAccount-万能账户;others-其它
	 * @see com.kbao.market.utils.contant.ContrastItemType
	 */
	private String itemType;
	/** 
	 * 对比项名称
	 */
	@Transient
	private String itemName;
	/**
	 * 简版 ps:如关联利益演示则展示利益演示
	 */
	private String simpleDesc;
	/**
	 * 详版 ps:支持简单公式配置
	 */
	private String fullDesc;
	/**
	 * 关联责任id
	 */
	private String libId;
	/**
	 * 关联责任名称
	 */
	private String libName;
	/**
	 * 关联责任文本详情
	 */
	private String libDesc;
	/**
	 * 详情
	 */
	private String remark;
	/**
	 * 是否配置了责任关联
	 * 0 - 否   1 - 是
	 */
	private Integer hasLib;
	/**
	 * 是否配置病种详情
	 * 0 - 否   1 - 是
	 */
	private Integer hasDisease;
	/**
	 * 是否配置详情
	 * 0 - 否   1 - 是
	 */
	private Integer hasRemark;
	/**
	 * 创建人
	 */
	private String creator;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改人
	 */
	protected String editor;
	/**
	 * 修改时间
	 */
	protected Date editTime;

	public String getProductItemId() {
		return productItemId;
	}

	public void setProductItemId(String productItemId) {
		this.productItemId = productItemId;
	}

	public String getConstrastProductId() {
		return constrastProductId;
	}

	public void setConstrastProductId(String constrastProductId) {
		this.constrastProductId = constrastProductId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public String getSimpleDesc() {
		return simpleDesc;
	}

	public void setSimpleDesc(String simpleDesc) {
		this.simpleDesc = simpleDesc;
	}

	public String getFullDesc() {
		return fullDesc;
	}

	public void setFullDesc(String fullDesc) {
		this.fullDesc = fullDesc;
	}

	public String getLibId() {
		return libId;
	}

	public void setLibId(String libId) {
		this.libId = libId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public Date getEditTime() {
		return editTime;
	}

	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	public String getLibDesc() {
		return libDesc;
	}

	public void setLibDesc(String libDesc) {
		this.libDesc = libDesc;
	}

	public Integer getHasDisease() {
		return hasDisease;
	}

	public void setHasDisease(Integer hasDisease) {
		this.hasDisease = hasDisease;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getHasRemark() {
		return hasRemark;
	}

	public void setHasRemark(Integer hasRemark) {
		this.hasRemark = hasRemark;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getLibName() {
		return libName;
	}

	public void setLibName(String libName) {
		this.libName = libName;
	}

	public Integer getHasLib() {
		return hasLib;
	}

	public void setHasLib(Integer hasLib) {
		this.hasLib = hasLib;
	}


}
